

      <div class="x-body">
        <form class="layui-form form_single" action="{:url()}" method="post">
          <div class="layui-form-item">
            <label for="username" class="layui-form-label">
              <span class="x-red">*</span>用户名
            </label>
            <div class="layui-input-inline">
              <input type="text" id="username" onchange="this.value=this.value.substring(0, 30)" onkeydown="this.value=this.value.substring(0, 30)" onkeyup="this.value=this.value.substring(0, 30)" name="username" required="" lay-verify="required"
                     autocomplete="off"  value="{$info['username']}" class="layui-input">
            </div>
            <div class="layui-form-mid layui-word-aux">
              <span class="x-red">*</span>用户名，主要用于登录
            </div>
          </div>

          <div class="layui-form-item">
            <label for="L_pass" class="layui-form-label">
              <span class="x-red">*</span>密码
            </label>
            <div class="layui-input-inline">
              <input type="password" id="L_pass" name="password"  lay-verify="pass"
                     autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-mid layui-word-aux">
              6到16个字符
            </div>
          </div>



          <div class="box-footer">

            <input type="hidden" name="id" value="{$info['id']|default='0'}"/>

            {include file="layout/edit_btn_group"/}

          </div>

      </form>
      </div>